package com.mr.base.alpha.mq;

import org.springframework.amqp.core.DirectExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AlphaExchange {

    public static final String TOPIC_EXCHANGE = "mr.base.alpha";

    @Bean
    public DirectExchange exchange() {
        return new DirectExchange(TOPIC_EXCHANGE);
    }

}
